package com.liujit.upms.domain.params;

import com.liujit.common.domain.params.BaseParams;
import com.liujit.validator.group.ModifyGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Description 系统字典请求参数
 * @Author liujun
 * @Date 2021-07-02 14:51:52
 */
@Data
@ApiModel(value = "SysDictParams", description = "系统字典请求参数")
public class SysDictParams extends BaseParams {

    @ApiModelProperty(value = "名称")
    @Length(max = 20, message = "名称最大长度20")
    private String name;

    @ApiModelProperty(value = "编号")
    @Length(max = 20, message = "编号最大长度20")
    private String code;

    @ApiModelProperty(value = "备注")
    @Length(max = 200, message = "备注最大长度200")
    private String remark;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;
}